package com.example.pei.papa.tables;

import java.util.ArrayList;
import java.util.List;

import cn.bmob.v3.BmobObject;

/**
 * Created by Pei on 2017/11/25.
 */
//某个用户屏蔽的所有技能
public class shielding extends BmobObject {

    private String userID;
    private List<String> objectIDs;  //userID屏蔽的所有objectIDs

    public List  getObjectIDs(){return objectIDs;}
    public void setObjectIDs(List<String> urls){
        if(urls==null) return;
        objectIDs=new ArrayList<>(urls);
    }
    public void addObjectID(String obj){
        if(objectIDs==null){
            objectIDs=new ArrayList<>();
        }
        objectIDs.add(obj);
    }
    public void setUserID(String userID){this.userID=userID;}
    public String getUserID(){return userID;}
}
